package com.werdior;

import com.werdior.admin.listen.ApplicationReadyEventListener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
public class Admin {
    public static void main(String[] args) {
        System.out.println("***************************************************************");
        System.out.println("启动adminBackend%%%%");

        SpringApplication app = new SpringApplication(Admin.class);

        app.addListeners(new ApplicationReadyEventListener());
        app.run(args);
    }

}